package DAO;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import Model.EmployeeBean;

public interface EmployeeDAO {
	public ArrayList<EmployeeBean> findAllNotDeleteEmployee()
		throws ClassNotFoundException, SQLException;
	
	public ArrayList<EmployeeBean> findAllDeletedEmployee()
	throws ClassNotFoundException, SQLException;
	
	public ArrayList<EmployeeBean> findAllEmployeeIgnoreDelete()
		throws ClassNotFoundException, SQLException;
	
	public ArrayList<EmployeeBean> findEmployeeWith(String condition)
		throws ClassNotFoundException, SQLException;
	
	public EmployeeBean findEmployeeById(int inEmpID)
		throws ClassNotFoundException, SQLException;
	
	public ArrayList<EmployeeBean> findNotDeleteEmployeeByManager(int inManID)
		throws ClassNotFoundException, SQLException;

	public int findNextEmployeeID()
		throws ClassNotFoundException, SQLException;
	
	public void addEmployee(EmployeeBean employee)
		throws ClassNotFoundException, SQLException;	

	public void updateEmployee(EmployeeBean employee)
		throws ClassNotFoundException, SQLException;
	
	public void resetPassword(Integer inEmpID)
		throws ClassNotFoundException, SQLException;
	
	public void updatePassword(EmployeeBean employee)
		throws ClassNotFoundException, SQLException;	
}
